package com.ohos.connect.devicecloud.mqtt.core.model.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MqttAccountVO {

    @ApiModelProperty(value = "客户端ID", position = 1)
    @NotBlank
    private String clientId;

    @ApiModelProperty(value = "mqtt用户名", position = 2)
    @NotBlank
    private String username;

    @ApiModelProperty(value = "mqtt密码", position = 3)
    @NotBlank
    private String password;

    @ApiModelProperty(value = "mqtt地址", position = 4)
    @NotBlank
    private String mqttUrl;

}
